{extend name="extra@index/base" /}
{block name="title"}我的帐户{/block}

{block name="css"}

{/block}


{block name='page'}
<style>/**页面css写在这里*/
.card-header {
    color: white;
    background: #0099FF;
}

.icon-xitongfanhui:before {
    padding-right: 0.75rem;
}

.iconfont {
    font-size: 0.85rem;
}

.icon-xiugaimima, .icon-shanghu, .icon-icon049 {
    margin-right: 0.75rem;
}
</style>
<!-- 页面开始 -->
<div class="card-header">
    <span><span class="iconfont icon-xitongfanhui" onclick="$.router.load('/my/index/',true,'left')"></span>我的帐户</span>
</div>
<div class="card" style="margin: .5rem 0">
    <div class="card-content">
        <div class="list-block">
            <ul>
                <li>
                    <a href="/my/user/changepwd/" class="item-link item-content" style="padding-left: 0">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title xiugaimima"><span class="iconfont icon-xiugaimima"></span>修改登录密码
                            </div>
                        </div>
                    </a>
                </li>
            </ul>
            {php}{/php}<!--判断该用户是否为商户身份,若已是商户身份，则无此行-->
            <ul>
                <li>
                    <a href="/my/index/tobemaster" class="item-link item-content" style="padding-left: 0">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title xiugaimima"><span class="iconfont icon-shanghu"></span>申请成为商户</div>
                        </div>
                    </a>
                </li>
            </ul>
            {php}{/php}
            {php}{/php}<!--判断该用户是否为配送员身份,若已是配送员身份，则无此行-->
            <ul>
                <li>
                    <a href="#" class="item-link item-content" style="padding-left: 0">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title xiugaimima"><span class="iconfont icon-icon049"></span>申请成为配送员</div>
                        </div>
                    </a>
                </li>
            </ul>
            {php}{/php}
        </div>
    </div>
</div>
<script>

</script>


<!-- 页面结束 -->
{/block}
{block name="js"}
{/block}